package com.my.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * Created by wt on 2017/11/28.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "tm_user")
public class User {
    private Integer user_id;
    private Integer city_id;
    private Date reg_time;
    private Integer sex;
    private Date happen_time;
    private Date create_time;


}
